export interface IVulnerabilityInformationListParams {
  pageIndex: number
  pageSize: number
  keyword: string
  hazardLevel: number | string
  vulType: string
  vendor: string
  product: string
  dateType: string
  beginTime: string
  endTime: string
  total: number
}

export interface IVulnerabilityInformationListRoot {
  code: number
  success: boolean
  message: string
  data: IVulnerabilityInformationListData
  time: string
}

export interface IVulnerabilityInformationListData {
  total: number
  records: IVulnerabilityInformationListRecord[]
  pageIndex: number
  pageSize: number
}

export interface IVulnerabilityInformationListRecord {
  id: string
  vulName: string
  cnnvdCode: string
  cveCode: string
  hazardLevel?: number
  createTime: string
  publishTime: string
  updateTime: string
  typeName?: string
  vulType: string
}
export interface VulDetailParams {
  id: string
  vulType: string
  cnnvdCode: string
}
export interface CnnvdDetail {
  id?: any
  vulName: string
  cnnvdCode: string
  cveCode: string
  publishTime: string
  isOfficial: number
  vendor?: any
  hazardLevel: number
  vulType: string
  vulTypeName: string
  vulDesc: string
  affectedProduct?: any
  affectedVendor?: any
  productDesc?: any
  affectedSystem?: any
  referUrl: string
  patchId?: any
  patch: string
  deleted?: any
  version?: any
  createUid?: any
  createUname?: any
  createTime?: any
  updateUid?: any
  updateUname?: any
  updateTime: string
  cnnvdFiledShow?: string
  cveVulVO?: any
  cveFiledShow?: any
  ibmVulVO?: any
  ibmFiledShow?: any
  icsCertVulVO?: any
  icsCertFiledShow?: any
  microsoftVulVO?: any
  microsoftFiledShow?: any
  huaweiVulVO?: any
  huaweiFiledShow?: any
  nvdVulVO?: any
  nvdFiledShow?: any
  varchar1: string
}

export interface IVuDetailsData {
  cnnvdDetail: CnnvdDetail
  receviceVulDetail?: any
}

export interface IVulDetailsRootObject {
  code: number
  success: boolean
  message: string
  data: IVuDetailsData
  time: string
}
